
const Service = require('egg').Service;

class home extends Service {
  async find() {
    // 假如 我们拿到用户 id 从数据库获取用户详细信息
    const user = await this.app.mysql.get('measure_posture');
    debugger;
    return { user };
  }
}

module.exports = home;